package com.gitee.feizns.zxw.service.api.impl;

import com.gitee.feizns.zxw.domain.pojo.DestinationAreasRecommendAttraction;
import com.gitee.feizns.zxw.domain.portal.vo.destination.areas.recommend.attraction.ListVo;
import com.gitee.feizns.zxw.service.api.ApiDestinationAreasRecommendAttractionService;
import com.gitee.feizns.zxw.utils.condition.AreasUtils;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author feizns
 * @since 2019/9/10
 */
@Service
public class ApiDestinationAreasRecommendAttractionServiceImpl implements ApiDestinationAreasRecommendAttractionService {

    @Override
    public List<ListVo> list(Integer id) {
        return new DestinationAreasRecommendAttraction().selectList(ListVo.class, AreasUtils.areaIdEq(id));
    }

}
